package com.bingxue.edu.management.education.model.resp;

import com.bingxue.edu.management.education.model.entity.ArrangeTemplate;
import com.bingxue.edu.management.education.model.entity.ClassInfo;
import com.mybatisflex.annotation.RelationManyToOne;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "班级列表返回信息")
public class ClassInfoResp extends ClassInfo {

    @Schema(description = "教室名称")
    private String classroomName;

    @Schema(description = "校区名称")
    private String campusName;

    @Schema(description = "主讲老师名称")
    private String leadTeacherName;

    @Schema(description = "期段")
    @RelationManyToOne(selfField = "arrangeTemplateId", targetTable = "edu_arrange_template", targetField = "id")
    private ArrangeTemplate arrangeTemplate;
}
